package com.hunan.chinamobile.dao;

import com.hunan.chinamobile.core.MyMapper;
import com.hunan.chinamobile.model.City;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CityMapper extends MyMapper<City> {

    City check(@Param("cityName") String cityName);

    List<City> findByName(@Param("cname") String cname);
}